package me.boot.common.data.model;

import lombok.Data;
import me.boot.common.data.enums.ResourceType;

import java.io.Serializable;
import java.util.List;


@Data
public class ResourceInfo implements Serializable {
    private Long id;
    private String name;
    private Long parentId;
    private ResourceType type;
    private String icon;
    private String frontCode;
    private String entityName;
    private String apiUri;
    private List<Long> premiseIds;

    /**
     * 子节点
     */
    private List<ResourceInfo> children;
}
